package com.ruoyi.wms.domain.entity.employee;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 绩效记录对象 p_metric_details
 *
 * @author 邓滔滔
 * @date 2024-12-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("p_metric_details")
public class PMetricDetails extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 员工ID
     */
    private Long employeeId;
    /**
     * 等级
     */
    private Long level;
    /**
     * 积分
     */
    private BigDecimal points;

    /**
     * p项薪资
     */
    private BigDecimal pSalay;
    /**
     * 计算周期
     */
    private Date calculationPeriod;
    /**
     * 备注
     */
    private String remarks;

}
